<div class="layui-container" style="width: 100%;padding-top: 20px">
    <table border="2" style="width: 100%;height: 320px;font-size: 5px;border-right: hidden;border-left: hidden;font-weight: bold;">
    <#--循环Map，得到key值-->
    <#list buildNumList as buildNum>
        <#assign houseList = (houseMap[buildNum])/>
        <#if houseList??>
        <#--输出当前循环楼栋-->
            <tr style="height: 40px">
                <td colspan="12" style="height: 40px"><span style="font-size: 30px;color: #00B83F">${buildNum}#楼</span></td>
            </tr>
        <#--定义第几次循环-->
            <#assign index = 0 />
        <#--循环当前楼栋房源-->
            <#list houseList as house>
            <#--次数+1-->
                <#assign index = index+1 />
            <#--如果第一次则为新的一行，下边如果为该列最后一个，则index为0，重新开始新一行-->
                <#if index == 1>
                <tr style="border-right: hidden;height: 55px">
                </#if>
                <td style="width: 50px;height:55px;border-right: hidden;padding-left: 3px">
                    <#assign houseHold=house.houseHold/>
                    <#assign houseStatus=house.houseStatus/>
                    <#if (houseStatus != 1)>
                        <#assign houseStyle='2'/>
                    <#else>
                        <#assign houseStyle=house.houseStyle/>
                    </#if>
                    <span class="layui-badge"
                          style="font-size: 20px;margin-top: 2px;line-height: 15px;padding-top: 1px;text-align: center;width: 59px;height:50px;background-color: ${colorMap[houseStyle?string]};font-weight: bold;">
                    <span style="font-size: 10px">${houseHoldMap[(house.houseHold)]}</span>
                    <br/><span style="color:#fffb61"> ${(house.houseNum)!}</span>
                    <br/><span style="font-size: 10px;"> ${(house.buildArea)!}</span>
                </span>
                </td>
            <#--如果是第十二个则该行结束，index为0-->
                <#if index%12 == 0>
                    <#assign index = 0/>
                </tr>
                </#if>
            </#list>
        </#if>

    </#list>
    </table>
</div>

